package syncmaster;

public class RadarAdapter implements BeatModelInterface {
	RadarModelInterface radar;
 
	public RadarAdapter(RadarModelInterface radar) {
		this.radar = radar;
	}

    public void initialize() {}
  
    public void on() {}
  
    public void off() {}
   
    public void setBPM(int bpm) {}
   
	public void registerObserver(BeatObserver o) {
		radar.registerObserver(o);
	}
    
	public void removeObserver(BeatObserver o) {
		radar.removeObserver(o);
	}
     
	public void registerObserver(BPMObserver o) {
		radar.registerObserver(o);
	}
  
	public void removeObserver(BPMObserver o) {
		radar.removeObserver(o);
	}

	public int getHash() {
		return radar.getHash();
	}

	public int getBPM() {
		return radar.getRadarRate();
	}
}
